{extend name="public/base" /}
    {block name="content"}
          
<section class="content-header">
<h1>
           系统概要
<small>Optional description</small>
</h1>
<ol class="breadcrumb">
	<li><a href="{:U('Index/index')}"><i class="fa fa-dashboard"></i> 首页</a></li>
</ol>
</section>
<!-- Main content -->
<section class="content">

              <!-- 快捷方式  -->
              <div class="box box-solid bg-teal-gradient" >
                <div class="box-header">
                  <i class="fa fa-th"></i>
                  <h3 class="box-title" style="color:#000;">快捷方式</h3>
                  <div class="box-tools pull-right">
                    <button class="btn bg-teal btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
                    <!-- <button class="btn bg-teal btn-sm" data-widget="remove"><i class="fa fa-times"></i></button> -->
                  </div>
                </div>
                <div class="box-body border-radius-none">
                  <div class="chart" id="line-chart" style="height: 150px;color:#000;">

				                <!-- small box -->
           <style>
		   a{ color:#fff; text-decoration:none;}
		   .inner p {padding:2px 0 0 5px;}
		   .inner h4 {font-size:24px;padding:10px 0 0 5px;}
		   </style>
			<div class="col-lg-3 col-xs-6">
			<a href="{:U('Content/addSliderContent')}">
              <div class="small-box bg-green">
                <div class="inner">
                  <h4 >内容发布</h4>
                  <p>Content Publishing</p>
                </div>
                <div class="icon">
                 <i class="ion ion-person-add"></i>
                </div>
                <a href="#" class="small-box-footer">ENTER <i class="fa fa-arrow-circle-right"></i></a>
              </div>
			  </a>
            </div>
			
			<div class="col-lg-3 col-xs-6" >
			<a href="{:U('Content/listindex')}">
              <div class="small-box bg-green">
                <div class="inner">
                  <h4 >内容管理</h4>
                  <p>Content management</p>
                </div>
                <div class="icon" >
                 <i class="ion ion-pie-graph"></i>
                </div>
                <a href="#" class="small-box-footer">ENTER <i class="fa fa-arrow-circle-right"></i></a>
              </div>
			  </a>
            </div>
			
		<div class="col-lg-3 col-xs-6">
			<a href="{:U('Term/index')}">
              <div class="small-box bg-green">
                <div class="inner">
                  <h4 >栏目管理</h4>
                  <p>Column management</p>
                </div>
                <div class="icon">
                  <i class="ion ion-stats-bars"></i>
                </div>
                <a href="#" class="small-box-footer">ENTER<i class="fa fa-arrow-circle-right"></i></a>
              </div>
			  </a>
            </div>
			
			<div class="col-lg-3 col-xs-6">
			<a href="{:U('Links/index')}">
              <div class="small-box bg-green">
                <div class="inner">
                  <h4 >链接管理</h4>
                  <p> Manage Links</p>
                </div>
                <div class="icon">
                 <i class="fa fa-fw fa-bars"></i>
                </div>
                <a href="#" class="small-box-footer">ENTER<i class="fa fa-arrow-circle-right"></i></a>
              </div>
			  </a>
            </div>
			 <!-- small box end -->
				  
				  </div>
                </div>
              </div>
              <!-- 快捷方式 END -->
			                <!-- 快捷方式  -->
  <div class="box box-solid bg-teal-gradient" >
                <div class="box-header">
                  <i class="fa fa-th"></i>
				   <h3 class="box-title" style="color:#000;">官方公告</h3>
                  <div class="box-tools pull-right">
                    <button class="btn bg-teal btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
                    <!-- <button class="btn bg-teal btn-sm" data-widget="remove"><i class="fa fa-times"></i></button> -->
                  </div>
                </div>
                <div class="box-body border-radius-none">
                  <div class="chart" id="wanhucms_news">

				                <!-- small box -->

				
			

			

			

			 <!-- small box end -->
				  
				  </div>
                </div>
              </div>
			  <!-- 获取网站信息 -->
      <script type="text/javascript">
	  
	function getLocalTime(nS) {     
	    return new Date(parseInt(nS) * 1000).toLocaleDateString().replace(/[\/]/g,'-');     
	}
    
	$.ajax({  
	  type:"post",
	  async:false,	  
	  url:"http://www.wanhunet.com/index.php/Index/wanhucms/",
	  dataType: "jsonp",
	  jsonp: "callback",
	  jsonpCallback:"flightHandler",
	  success:
	  function(data){
		if(data==null){
			$("#wanhucms_news").html('<li><a href="" style="color:#FF0000;display:inline-block"><p>无最新消息[2016-02-29]</p></a></li>');
			$("#wanhucms_news").addClass("rq-fyxxtext");
			$(".pages").hide();
		}else{
			
			 for(var i=0;i<data.length;i++){
				html='<li><a href="" style="color:#000;display:inline-block"><p>['+getLocalTime(data[i].create_time)+']&nbsp;'+data[i].title+'</p></a></li>';
				$("#wanhucms_news").append(html); 
			}
		}
	  },
	      error:function(a,b,c){  
            alert(a+"++"+b+"++"+c);  
        }  
});
				</script>

			  <!-- 获取网站信息 -->
			  
			  
			  
			  
              <!-- 快捷方式 END -->
</section>
    {/block}